package com.mask.im.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mask.im.business.model.entity.Feedback;
import com.mask.im.business.model.dto.FeedbackDTO;
import com.mask.im.business.model.vo.ConditionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author jian
 */
@Mapper
public interface FeedbackMapper extends BaseMapper<Feedback> {

	Integer selectFeedbackCount(@Param("conditionVO") ConditionVO conditionVO);

	List<FeedbackDTO> feedbackList(@Param("conditionVO") ConditionVO conditionVO,
	                               @Param("currentPage") long currentPage,
	                               @Param("size") long size);
}

